package org.familysearch.fsapi.gwt.common.client.entities;

import com.google.gwt.user.client.rpc.IsSerializable;

public abstract class Entity implements IsSerializable {

	private String id;
	private String type;
	private String version;
	private FamilySearchID submitter;
	private boolean modifiable;
	private boolean disputing;
	private FamilySearchID contributor;
	
	public String getId()
	{
		return this.id;
	}

	public FamilySearchID getContributor() {
		return contributor;
	}

	public void setContributor(FamilySearchID contributor) {
		this.contributor = contributor;
	}

	public boolean isDisputing() {
		return disputing;
	}

	public void setDisputing(boolean disputing) {
		this.disputing = disputing;
	}

	public boolean isModifiable() {
		return modifiable;
	}

	public void setModifiable(boolean modifiable) {
		this.modifiable = modifiable;
	}

	public FamilySearchID getSubmitter() {
		return submitter;
	}

	public void setSubmitter(FamilySearchID submitter) {
		this.submitter = submitter;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public void setId(String id) {
		this.id = id;
	}
}
